package com.ruoyi.merchant.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 客户病史习惯-疾病对象 t_customer_history_medical_disease
 * 
 * @author chengxin.ju
 * @date 2023-12-12
 */
public class CustomerHistoryMedicalDisease extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 客户ID */
    @Excel(name = "客户ID")
    private String customerId;

    /** 病史习惯ID */
    @Excel(name = "病史习惯ID")
    private String historyId;

    /** 疾病类型 0  */
    @Excel(name = "疾病类型 0 ")
    private String diseaseType;

    /** 确诊时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "确诊时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date diagnoseTime;

    /** 疾病详情或者其他 */
    @Excel(name = "疾病详情或者其他")
    private String diseaseDeatils;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCustomerId(String customerId) 
    {
        this.customerId = customerId;
    }

    public String getCustomerId() 
    {
        return customerId;
    }
    public void setHistoryId(String historyId) 
    {
        this.historyId = historyId;
    }

    public String getHistoryId() 
    {
        return historyId;
    }
    public void setDiseaseType(String diseaseType) 
    {
        this.diseaseType = diseaseType;
    }

    public String getDiseaseType() 
    {
        return diseaseType;
    }
    public void setDiagnoseTime(Date diagnoseTime) 
    {
        this.diagnoseTime = diagnoseTime;
    }

    public Date getDiagnoseTime() 
    {
        return diagnoseTime;
    }
    public void setDiseaseDeatils(String diseaseDeatils) 
    {
        this.diseaseDeatils = diseaseDeatils;
    }

    public String getDiseaseDeatils() 
    {
        return diseaseDeatils;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customerId", getCustomerId())
            .append("historyId", getHistoryId())
            .append("diseaseType", getDiseaseType())
            .append("diagnoseTime", getDiagnoseTime())
            .append("diseaseDeatils", getDiseaseDeatils())
            .toString();
    }
}
